App({
  globalData: {
    systemInfo: null,
    userInfo: null,
    balance:null
  },
  onLaunch: function () {
    this.setGlobalData('systemInfo',tt.getSystemInfoSync())
    const Hasbindgetsource = tt.canIUse('video-player.bindgetsource');
    this.setGlobalData('Hasbindgetsource', Hasbindgetsource)
  },
  getGlobalData(key){
    return this.getGlobalData[key]
  },
  setGlobalData(key, value) {
    this.globalData[key] = value;
  },
  onShow(){
  }
})
